package com.carkeeper.order.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
;

@Table(name = "tb_order")
@Data/*set,get*/
@NoArgsConstructor/*无参构造*/
@AllArgsConstructor/*有参构造*/
public class Order implements Serializable {
    @Id
    private Long id;

    private String code;/*订单编号*/

    private String userId;/*用户id*/
    private String storeId;/*店铺id*/
    private String storeName;/*店铺名称*/
    private String storeTel;/*店铺电话*/
    private String carCode;/*车牌号*/
    private String carName;/*车辆名称*/
    private String engineCode;/*发动机号*/
    private Integer frameCode;/*VIN码*/
    private String contact;/*客户名称*/
    private String contactTel;/*客户电话*/
    private Date createDate;/*创建日期*/
    private Date serviceDate;/*服务日期*/
    private Integer payDate;/*支付日期*/
    private String money;/*订单金额（分）*/
    private Integer type;/*类型 1服务 2配件*/
    private String payStatus;/*支付状态*/
    private String orderStatus;/*订单状态*/
    private String appointmentDate;/*预约时间*/
    private String orderDescribe;/*账单摘要*/
    private String orderType;/*订单状态*/

}